package com.dzu.gulimall.product.dao;

import com.dzu.common.constant.ProductConstant;
import com.dzu.gulimall.product.entity.SpuInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * spu信息
 *
 * @author zhaodong
 * @email zhaodong@qq.com
 * @date 2021-04-11 20:58:01
 */
@Mapper
public interface SpuInfoDao extends BaseMapper<SpuInfoEntity> {

    void updateSpuStatus(@Param("spuId") Long spuId, @Param("spuUp") ProductConstant.StatusEnum spuUp);
}
